package com.sofwin.service.impl;

import com.sofwin.mapper.SUserMapper;
import com.sofwin.pojo.SUser;
import com.sofwin.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClassName: TestServiceImpl
 * Description: TODO
 * date: 2021/2/5 9:47 上午
 *
 * @author andyliu
 * @since JDK 1.8
 */
@Service
public class TestServiceImpl implements TestService {
   @Autowired
   private SUserMapper mapper;

    @Override
    public List<SUser> selectUsers() {
        return mapper.selectByExample(null);
    }
}
